//
//  IGMyDrawingListApi.m
//  jingdongfang
//
//  Created by boectoswteam on 2018/5/19.
//  Copyright © 2018年 BOE-SBG-CTO. All rights reserved.
//

#import "IGMyDrawingListApi.h"

@implementation IGMyDrawingListApi

-(instancetype)initWithType:(DRAWINGLIST_TYPE)type{
    self = [super init];
    if (self) {
        self.type = type;
    }
    return self;
}

-(YTKRequestMethod)requestMethod{
    return YTKRequestMethodPOST;
}

-(NSString *)requestUrl{
    if (self.type == DRAWINGLIST_MYCREATE_TYPE) {
        return @"member/getMyCreateDraw";
    } else {
        return @"member/getMyFavDraw";
    }
}

-(id)requestArgument{
    return @{
             @"pageSize":_pageSize,
             @"pageNum":_pageNum
             };
}


@end


@implementation IGMyDrawingModel
@end

@implementation IGMyDrawingListResp
@end
